//**********任务日志***********/;
import request from '@/utils/request.js';
const BASE_URL=process.env.VUE_APP_ROOT_URL === './'?'':'/paas'
/**
 * 删除
 * @doc http://ms-dev.hancode.com/paas/v2/api-docs
 * data 参数 // 类型 array
 * []integer
 * @returns
 * code:'', //执行结果状态码 	类型:integer 必填
 * data:'', //返回正确结果时携带的数据 	类型:string 非必填
 * message:'', //执行结果信息 	类型:string 必填
 * messageData:'', //错误信息填充字段 	类型:array 非必填
 * **********************
 * import { deleteHmsysjoblog } from '@/apis/paas/HmSysJobLogController.js'
 */
export function deleteHmsysjoblog(data=[], config={}){
  return request({
    method: 'delete',
    data,
    url: BASE_URL+`/api/hmsysjoblog`,
    ...config,
  }) 
}

/**
 * 详情
 * @doc http://ms-dev.hancode.com/paas/v2/api-docs
 * params 参数 
 * jobLogId:'', //jobLogId 必填
 * @returns
 * code:'', //执行结果状态码 	类型:integer 必填
 * data:object
  * {
  * createBy:'', //$column.comments 	类型:string 非必填,
  * createDate:'', //$column.comments 	类型:string 非必填,
  * exceptionInfo:'', //异常信息 	类型:string 非必填,
  * invokeTarget:'', //调用目标字符串 	类型:string 非必填,
  * jobGroup:'', //任务组名 	类型:string 非必填,
  * jobLogId:'', //$column.comments 	类型:integer 非必填,
  * jobMessage:'', //日志信息 	类型:string 非必填,
  * jobName:'', //任务名称 	类型:string 非必填,
  * modifyBy:'', //$column.comments 	类型:string 非必填,
  * modifyDate:'', //$column.comments 	类型:string 非必填,
  * startTime:'', //$column.comments 	类型:string 非必填,
  * status:'', //$column.comments 	类型:string 非必填,
  * stopTime:'', //$column.comments 	类型:string 非必填
  * }, //返回正确结果时携带的数据 	类型:undefined 非必填
 * message:'', //执行结果信息 	类型:string 必填
 * messageData:'', //错误信息填充字段 	类型:array 非必填
 * **********************
 * import { getHmsysjoblogInfo } from '@/apis/paas/HmSysJobLogController.js'
 */
export function getHmsysjoblogInfo(params={}, config={}){
  return request({
    method: 'get',
    params,
    url: BASE_URL+`/api/hmsysjoblog/info`,
    ...config,
  }) 
}

/**
 * 分页列表
 * @doc http://ms-dev.hancode.com/paas/v2/api-docs
 * params 参数 
 * pageNo:'', //页码 非必填
 * pageSize:'', //每页数据条数 非必填
 * jobName:'', //jobName 非必填
 * jobGroup:'', //jobGroup 非必填
 * status:'', //status 非必填
 * @returns
 * code:'', //执行结果状态码 	类型:integer 必填
 * data:object
  * {
  * current:'', // 	类型:integer 非必填,
  * pages:'', // 	类型:integer 非必填,
  * records:'', // 	类型:array 非必填,
  * size:'', // 	类型:integer 非必填,
  * total:'', // 	类型:integer 非必填
  * }, //返回正确结果时携带的数据 	类型:undefined 非必填
 * message:'', //执行结果信息 	类型:string 必填
 * messageData:'', //错误信息填充字段 	类型:array 非必填
 * **********************
 * import { getHmsysjoblogPageList } from '@/apis/paas/HmSysJobLogController.js'
 */
export function getHmsysjoblogPageList(params={}, config={}){
  return request({
    method: 'get',
    params,
    url: BASE_URL+`/api/hmsysjoblog/page/list`,
    ...config,
  }) 
}